#ifndef __qysourcenavigator__
#define __qysourcenavigator__

#include <QWidget>

class QTabWidget;
class QySciEdit;
class QySourceNavigatorPluginInterface;

class QySourceNavigator : public QWidget {
	Q_OBJECT
public:
	QySourceNavigator( QWidget * parent=0 );

public slots:
	void setCurrentEdit( QySciEdit * edit );
	void loadPluginsFrom( const QString & dirPath );

signals:
	void fileOpend( const QString & fileName );
	void fileOpendOnLine( const QString & fileName, int line );

private:
	void focusInEvent( QFocusEvent * event );

	QTabWidget * p_tabWidget;
	QList<QySourceNavigatorPluginInterface*> snPlugins;

};

#endif/*__qysourcenavigator__*/
